TEMPLATE = lib
TARGET = aesyweibo
QT += qml quick core network
#CONFIG += qt plugin no_keywords
CONFIG += qt plugin hide_symbols

#comment in the following line to disable traces
#DEFINES += QT_NO_DEBUG_OUTPUT

TARGET = $$qtLibraryTarget($$TARGET)
uri = aesyweibo

INCLUDEPATH += .

# Input
HEADERS += backend.h mytype.h \
    app.h \
    networkhelper.h
SOURCES += backend.cpp mytype.cpp \
    networkhelper.cpp

# Install path for the plugin
installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
target.path = $$installPath
INSTALLS += target

# find files
QMLDIR_FILE = qmldir

# make visible to qt creator
OTHER_FILES += $$QMLDIR_FILE 

# create install targets for files
qmldir.path = $$installPath
qmldir.files = $$QMLDIR_FILE

INSTALLS += qmldir

